/**
 * 获取设备信息
 * 与 旧htm 比较
 * 缺失 bluetoothCfgDesc, cpuDesc, gpuDesc, deviceld, diskSize, ramSize, sizeWidthMM, sizeHeightMM, sysVersion, wificfgDesc
 * 可以有 system(osName + osVersion), screenDisplayWidth, screenDisplayHeight，deviceName
 */
export function getDeviceInfo() {
	return new Promise(resolve => {
		const deviceInfo = wx.getDeviceInfo();
		console.log(deviceInfo);
		resolve(deviceInfo);
	})
}
